//
//  PauseViewController.m
//  NewGame
//
//  Created by wwj on 15/10/19.
//  Copyright © 2015年 wwj. All rights reserved.
//

#import "PauseViewController.h"

@interface PauseViewController ()
       
@end

@implementation PauseViewController

+(instancetype)pauseViewController{
    UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Main" bundle:nil];
    PauseViewController *pauseVC = [storyboard instantiateViewControllerWithIdentifier:@"pause"];
    return pauseVC;
}

- (void)viewDidLoad {
    [super viewDidLoad];
  
}

- (IBAction)onClickHome {
    [self.navigationController popToRootViewControllerAnimated:YES];
}


- (IBAction)onClickResume {
    if (_pauseBlock) {
        _pauseBlock();
    }
    [self.navigationController popViewControllerAnimated:YES];
}


@end
